//
//  MySettingTableViewCell.m
//  eshow
//
//  Created by Hisoka on 15/11/16.
//  Copyright © 2015年 Hisoka. All rights reserved.
//

#import "MySettingTableViewCell.h"

@implementation MySettingTableViewCell

- (id) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        self.bgImg = [UIImageView newAutoLayoutView];
        [self.contentView addSubview:_bgImg];
        
        [_bgImg autoAlignAxis:ALAxisVertical toSameAxisOfView:self.contentView];
        [_bgImg autoAlignAxis:ALAxisHorizontal toSameAxisOfView:self.contentView];
        [_bgImg autoSetDimensionsToSize:CGSizeMake(81, 51)];
        _bgImg.image = [UIImage imageNamed:@"logoOrange"];
        _bgImg.backgroundColor = [UIColor clearColor];
        
        self.btnImg = [UIImageView newAutoLayoutView];
        [self.contentView addSubview:_btnImg];
        
        [_btnImg autoAlignAxis:ALAxisHorizontal toSameAxisOfView:self.contentView];
        [_btnImg autoAlignAxis:ALAxisVertical toSameAxisOfView:self.contentView];
        _btnImg.image = [UIImage imageNamed:@"cofirmBTN"];
        _btnImg.backgroundColor = [UIColor clearColor];
    }
    
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
